package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 配送员管理对象 peisongyuan
 * 
 * @author ruoyi
 * @date 2024-08-14
 */
@Data
public class Peisongyuan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 配送员id */
    private Long psyId;

    /** 配送员姓名 */
    @Excel(name = "配送员姓名")
    private String psyName;

    /** 配送员手机号 */
    @Excel(name = "配送员手机号")
    private String psyPhone;

    /** 配送员工作类型 0全职专送 1兼职众包 */
    @Excel(name = "配送员工作类型 0全职专送 1兼职众包")
    private Long psyGzlx;

    /** 工作城市 */
    @Excel(name = "工作城市")
    private String psyGzcs;

    /** 配送站id */
    @Excel(name = "配送站id")
    private Long pszId;

    /** 评分 */
    @Excel(name = "评分")
    private Long psyPingfen;

    /** 认证状态，0未认证，1已认证 */
    @Excel(name = "认证状态，0未认证，1已认证")
    private Long psyShimingrenzheng;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date psyZhuceshijian;

    /** 配送员状态 0未开通 1接单中 2休息中 3已禁用 4已离职 5已注销 */
    @Excel(name = "配送员状态 0未开通 1接单中 2休息中 3已禁用 4已离职 5已注销")
    private Long psyStatus;
    private Peisongzhan peisongzhan;
    /** 配送员完成单 */
    @Excel(name = "配送员完成单")
    private Long psyFinishcount;

    public void setPsyId(Long psyId) 
    {
        this.psyId = psyId;
    }

    public Long getPsyId() 
    {
        return psyId;
    }
    public void setPsyName(String psyName) 
    {
        this.psyName = psyName;
    }

    public String getPsyName() 
    {
        return psyName;
    }
    public void setPsyPhone(String psyPhone) 
    {
        this.psyPhone = psyPhone;
    }

    public String getPsyPhone() 
    {
        return psyPhone;
    }
    public void setPsyGzlx(Long psyGzlx) 
    {
        this.psyGzlx = psyGzlx;
    }

    public Long getPsyGzlx() 
    {
        return psyGzlx;
    }
    public void setPsyGzcs(String psyGzcs) 
    {
        this.psyGzcs = psyGzcs;
    }

    public String getPsyGzcs() 
    {
        return psyGzcs;
    }
    public void setPszId(Long pszId) 
    {
        this.pszId = pszId;
    }

    public Long getPszId() 
    {
        return pszId;
    }
    public void setPsyPingfen(Long psyPingfen) 
    {
        this.psyPingfen = psyPingfen;
    }

    public Long getPsyPingfen() 
    {
        return psyPingfen;
    }
    public void setPsyShimingrenzheng(Long psyShimingrenzheng) 
    {
        this.psyShimingrenzheng = psyShimingrenzheng;
    }

    public Long getPsyShimingrenzheng() 
    {
        return psyShimingrenzheng;
    }
    public void setPsyZhuceshijian(Date psyZhuceshijian) 
    {
        this.psyZhuceshijian = psyZhuceshijian;
    }

    public Date getPsyZhuceshijian() 
    {
        return psyZhuceshijian;
    }
    public void setPsyStatus(Long psyStatus) 
    {
        this.psyStatus = psyStatus;
    }

    public Long getPsyStatus() 
    {
        return psyStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("psyId", getPsyId())
            .append("psyName", getPsyName())
            .append("psyPhone", getPsyPhone())
            .append("psyGzlx", getPsyGzlx())
            .append("psyGzcs", getPsyGzcs())
            .append("pszId", getPszId())
            .append("psyPingfen", getPsyPingfen())
            .append("psyShimingrenzheng", getPsyShimingrenzheng())
            .append("psyZhuceshijian", getPsyZhuceshijian())
            .append("psyStatus", getPsyStatus())
            .toString();
    }
}
